﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class atk_plus : Skill
{
    public GameObject enemyGameObject;
    void Awake()
    {

    }
    
    public override void Active(GameObject go)
    {
        
        if (go.tag == "Player")
        {
            go.transform.GetComponent<Player>().atk += 1;
          
        }
        else if (go.tag == "Enemy")
        {
            go.transform.GetComponent<Enemy>().atk += 1;
           
        }
    }
  



}
